package entities;

public class Query {
	private String id;
	private String docid;
	private String name;
	private int begin;
	private int end;
	public Query(String id, String docid,String name, int begin, int end){
		this.id = id;
		this.docid = docid;
		this.setName(name);
		this.begin = begin;
		this.end = end;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDocid() {
		return docid;
	}
	public void setDocid(String docid) {
		this.docid = docid;
	}
	public int getBegin() {
		return begin;
	}
	public void setBegin(int begin) {
		this.begin = begin;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
